Open
Conversation
Owner
|
@toomore 感谢你的反馈. 在 po 中2种概念的换行:
我不太清楚你的说具体是哪种状态. PS: |
Author
|
@chai2010 對不起沒有說明清楚,我是在做簡單的讀取 po、新增字詞、儲存 po 這樣的流程[1],但是這樣儲存之後每個 msgid, msdstr 的字詞內結尾會多出字串 原始 po: 儲存後: 我想這只有一行的詞應該不需要放入一個 [1] https://github.com/toomore/onesky/blob/master/gettext-go/main.go |
Owner
|
恩, 这样看应该是一个BUG, 你能添加一个针对这个BUG的test函数吗? |
Author
|
Hi @chai2010 我加入了 testing 和一些修正,再麻煩你 review,感謝! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @chai2010 單行的內容似乎不需要 \n 結尾,這是我的修正,再請您幫忙 review,感謝!
~Toomore